package com.hu.zhcc.shiro.controller.xsx;


import com.hu.zhcc.shiro.entity.xsx.XsxTOrdersetting;
import com.hu.zhcc.shiro.service.xsx.TOrdersettingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 预约设置表 前端控制器
 * </p>
 *
 * @author xsx
 * @since 2021-06-16
 */
@RestController
@RequestMapping("/tOrdersetting")
public class TOrdersettingController {

    @Autowired
    TOrdersettingService tOrdersettingService;

    @GetMapping("/all")
    private List<XsxTOrdersetting> queryAll(){
        return tOrdersettingService.queryAllOrderSetting();
    }

}

